package com.glink.manage.dto.mqtt;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * 车辆道闸注册
 * @Author : qiushaoshan
 * @create 2025/2/8 14:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CarBarrierGateBootRegDTO implements Serializable {

    private static final long serialVersionUID = 6831713938688076484L;

    @ApiModelProperty(name = "cmd", notes = "命令（boot_reg表示设备注册）")
    private String cmd;

    @ApiModelProperty(name = "msg_id", notes = "消息 ID（此次请求的唯一标识，20 位长，前 13 位是毫秒时间，后 7 位是字母和数字的随机数）")
    private String msg_id;

    @ApiModelProperty(name = "utc_ts", notes = "IO 输入事件发生时的 UTC 时间戳")
    private int utc_ts;

    @ApiModelProperty(name = "local_time", notes = "IO 输入事件发生时的本地时间")
    private String local_time;

    @ApiModelProperty(name = "sn", notes = "相机sn码")
    private String sn;
}
